<?php
		
	define('__CLASS_PATH', $site_path.'/classes/');
	define('__CONTROLLER_PATH', $site_path.'/controller/');
	define('__VIEW_PATH', $site_path.'/view/');
	define('__MODEL_PATH', $site_path.'/model/');
	define('__TEMPLATE_PATH', $site_path.'/template/');
	define('__IMAGES_PATH', $site_path.'/images/');
	define('__PHOTOS_PATH', $site_path.'/photos/');
	
	require_once(__CONTROLLER_PATH.'Controller.class.php');
	require_once(__MODEL_PATH.'Model.class.php');
	require_once(__VIEW_PATH.'View.class.php');
	require_once(__CLASS_PATH.'Loader.class.php');
	require_once(__CLASS_PATH.'PDOConnection.class.php');
	require_once(__CLASS_PATH.'ParameterManager.class.php');
	require_once(__CLASS_PATH.'Dispatcher.class.php');
	
	define('__SQL_PATH', 'localhost');
	define('__SQL_PORT', '');
	define('__SQL_DBNAME', 'projetWeb');
	define('__SQL_USERNAME', 'root');
	define('__SQL_PASSWORD', '');
	
	/*define('__SQL_DBNAME', 'web06');
	define('__SQL_USERNAME', 'web06');
	define('__SQL_PASSWORD', 'kei1vae');*/
	
	// Définition des constantes générales
	define('__DEFAULT_TITLE', 'Forum des Mines');
	define('__IMG_MAX_HEIGHT', 100);
	define('__NB_MAX_MESSAGES', 15);
	define('__NB_MAX_MP', 25);
	